#include "../lib/define.h"

#define DevCMOSReadData(bIndex, lpbData) __asm__("out %%al,$0x70\n in $0x71,%%al":"=a"(*lpbData):"a"(bIndex))
#define DevCMOSWriteData(bIndex, bData) __asm__("out %%al,$0x70\n mov %1b,%%al\n out %%al,$0x71"::"a"(bIndex),"m"(bData))
